package ruler;

public abstract class RulerTick {
	private final int degree;
	private String degreeText;
	private double position;

	public RulerTick(int degree) {
		this.degree = degree;
		this.degreeText = String.valueOf(degree);
	}
	
	public void setPosition(double position) {
		this.position = position;
	}
	
	public void setDegreeText(String degreeText) {
		this.degreeText = degreeText;
	}

	public String getDegreeText() {
		return degreeText;
	}

	public double getPosition() {
		return position;
	}

	public int getDegree() {
		return degree;
	}
	
	
	

}
